<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<style>
.form-item {
		margin: 20px 10px;
}
.form-item>label {
	letter-spacing: 3px;
	width: 120px;
	text-align: right;
	display: inline-block;
}
	
.form-item>label:after {
	content: ":";
}
	
.form-item input[type=text] {
	width: 150px;
}
	
.form-item.required>label:before {
	content: "*";
	color: red;
}
</style>
<form id="inputstuForm" style="margin:20px auto;">
	<input type="hidden" value="${user.userId}" name="userid" />
		<div>
			<input type="hidden" name="inputstuId" value="${inputStuEntity.inputstuId }" />
			<div style="float: left;width:325px;margin-left: 30px;">
				<div class="form-item required">
					<label for="">学生姓名</label>
					<input value="${inputStuEntity.inputStuName }" data-options="required:true" style="width: 60x;" type="text" class="easyui-textbox" name="inputStuName" />
				</div>
				<div class="form-item required">
					<label for="">性别</label>
					<input type="radio" ${empty inputStuEntity || inputStuEntity.gender=='1' ? 'checked': '' } name="gender" value="1" /> 男
					<input type="radio" ${inputStuEntity.gender=='0' ? 'checked': '' } name="gender" value="0" /> 女
				</div>
				<div class="form-item required">
					<label for="">年龄</label>
					<input value="${inputStuEntity.age}" data-options="required:true" type="text" class="easyui-textbox" name="age" />
				</div>
				<div class="form-item required">
					<label for="">学历</label>
					<input type="radio" ${inputStuEntity.degree=='初中' ? 'checked': '' } name="degree" value="初中" /> 初中
					<input type="radio" ${empty inputStuEntity || inputStuEntity.degree=='高中' ? 'checked': '' } name="degree" value="高中" /> 高中
					<input type="radio" ${inputStuEntity.degree=='大专' ? 'checked': '' } name="degree" value="大专" /> 大专
					<input type="radio" ${inputStuEntity.degree=='大本' ? 'checked': '' } name="degree" value="大本" /> 大本
				</div>
				<div class="form-item required">
					<label for="">号码</label>
					<input value="${inputStuEntity.phone}" data-options="required:true" type="text" class="easyui-textbox" name="phone" />
				</div>
				<div class="form-item required">
					<label for="">住址</label>
					<input value="${inputStuEntity.address}" data-options="required:true" type="text" class="easyui-textbox" name="address" />
				</div>
			</div>
			<div style="width:330px;height:230px;float: right;margin-right: 70px;">
				<div class="form-item required">
					<label for="">QQ</label>
					<input value="${inputStuEntity.qq}" data-options="required:true" type="text" class="easyui-textbox" name="qq" />
				</div>
				<div class="form-item required">
					<label for="">邮箱</label>
					<input value="${inputStuEntity.email}" data-options="required:true" type="text" class="easyui-textbox" name="email" />
				</div>
				<div class="form-item">
					<label for="">兴趣等级</label>
					<select class="easyui-combobox" data-options="required:true" name="interest"
						style="margin: 0px;
								padding-top: 0px;
								padding-bottom: 0px;
								height: 22px;
								line-height: 22px;
    							width: 110px;
    							height:24px;
    							border-radius: 5px;
    							border-color: dodgerblue;
    							margin-right:10px ;">
    					<option value="暂无" ${inputStuEntity.interest=='暂无' ? 'selected' : '' }>暂无</option>
						<option value="A级[意向强烈]" ${inputStuEntity.interest=='A级[意向强烈]' ? 'selected' : '' }>A级[意向强烈]</option>
						<option value="B级[疑问多]" ${inputStuEntity.interest=='B级[疑问多]' ? 'selected' : '' }>B级[疑问多]</option>
						<option value="C级[迷茫]" ${inputStuEntity.interest=='C级[迷茫]' ? 'selected' : '' }>C级[迷茫]</option>
						<option value="D级[没想法]" ${inputStuEntity.interest=='D级[没想法]' ? 'selected' : '' }>D级[没想法]</option>
					</select>
				</div>
				<div class="form-item">
					<label for="">备注</label>
					<textarea style="margin-left:124px;width:150px;height:80px;border-radius: 5px;" data-options="required:true" name="remark">${inputStuEntity.remark}</textarea>
				</div>
			</div>
		</div>
</form>